Exchange Rates, Capital Flows and Policy