How creditors came to wield unprecedented power over heavily indebted countries—and the dangers this poses to democracy