Exchange Rate Dynamics and Learning