High-temperature X-ray diffraction of YBa2Cu3O7−d under controlled oxygen pressure