Foreign portfolio diversification and risk-sharing