Sovereign Default, Terms of Trade and Interest Rates in Emerging Markets