Seol mar théacs é seo: Preventing currency crises in emerging markets