Current account dynamics, real exchange rate adjustment, and the exchange rate regime in emerging-market economies