Social utility and the gains from trade