The structure of the non-superconducting phase La3Ba3Cu6O14+x and its relation to the high-Tc superconductor YBa2Cu3O7–δ