Magnetic properties of the high Tc superconductor YBa2Cu3O7−δ