Electronic structure of perovskite-type compounds.