Spin-phonon coupling and high-pressure phase transitions of R MnO 3 ( R = Ca and Pr): An inelastic neutron scattering and first-principles study