Energy Levels of Point Defects in Perovskite Oxides