International trade and foreign investment