Renewable resources and the gains from trade