Electronic Structure of Intrinsic Point Defects in Perovskite-Type Crystals