Purchasing power parity and the behavior of prices and nominal exchange rates across exchange-rate regimes