Defects in Perovskites Induced by Illumination