Sticky-price dynamics and the choice of an exchange rate regime