Dependence of internal friction and young's modulus on the oxygen deficiency in the superconductor YBa2Cu3O7−δ