Effect of quenching on the magnetic properties of RBa2Cu3O7−y (r=rare earth) compounds