Superconductivity and magnetic properties of YBa2Cu3O7-δ annealing and quenching effects