Metamagnetism of cuprates R2Cu2O5