Foreign direct investment and international trade in a continuum Ricardian trade model