Wage Inequality from International Competition and Technological Change: Theory and Country Experience