Brazil in the Global Economy: Measuring the Gains From Trade