Demographic Change, International Trade and Capital Flows