Preparation and characterization of the high-temperature superconductor YBa2Cu3O7–x