Flexible Wages, Bargaining, and the Gender Gap