Light-induced defects in KTaO3