Global Imbalances and the Accumulation of Risk