Collective phase-like mode and the role of lattice distortions at TN ∼ TC in RMn2O5 (R= Pr, Sm, Gd, Tb, Bi)