How inflation affects exchange rates