Lattice effects in multiferroic R Mn 2 O 5 ( R = Sm – Dy , Y )