Causes of Currency Crises and Banking Crises