Resolution of Balance of Payments Crises: Emergency Financing and Debt Workouts