When it Rains , it Pours : Capital Flows with Twin External Crises ∗