Structure of ultrathin heteroepitaxial superconducting YBa2Cu3O7-x films