Trade and Inequality: From Theory to Estimation