Occupational change and wage inequality