Title: Capital Inflows, Exchange Rate Flexibility, and Credit Booms