Chemical Reactions in Perovskite-Type Layer Structures