Bankruptcy Costs, Liability Dollarization, and Vulnerability to Sudden Stops