Firm-Specific Assets and the Gains from Direct Foreign Investment