International and Domestic Collateral Constraints in a Model of Emerging Market Crises