Seol mar théacs é seo: The role of institutional quality in a currency crisis model