Measuring the Cross-Country Distribution of Gains from Trade