Structural behavior and superconductivity of YBa2Cu3Ox