Generation and characterization of point defects in SrTiO 3 and Y 3 Al 5 O 12