Pressure dependent structural changes and predicted electrical polarization in perovskite RMnO3