Direct observation of apical oxygen vacancies in the high-temperature superconductor YBa2Cu3O7−x