Real exchange rate dynamics in developing countries: three empirical essays