Influence of oxygen stoichiometry on the structure and superconducting transition temperature of YBa2Cu3Ox