Immigration, trade, and the labor market