How the battle for talent is widening the pay gap