Sovereign Debt and Financial Crises: Theory and Historical Evidence