Financing the Costs of Currency Crises