Saving and investment in a global economy