Oxygen stoichiometry, superconductivity and normal-state properties of YBa2Cu3O7–δ