The risks behind using the exchange rate to combat inflation