Dynamics of currency exchange rates