Global Capital Flows: A Historical Perspective