High-temperature superconductivity in YBa2Cu3O7 and related perovskite oxides: Some aspects of solid state chemistry