The Equilibrium Approach to Exchange Rates: Theory and Tests