External Debt in Emerging Economies: A Macrodynamical Model of Financial Fragility