High-temperature oxygen defect equilibrium in superconducting oxide YBa2Cu3O7-x