Foreign Competition, Market Power, and Wage Inequality