Ex post bargaining, labor coordination and wage formation at the firm level