Light can 'heal' defects in new solar cell materials