Price, Quality, and Variety: Measuring the Gains from Trade in Differentiated Products