Mediation and the dynamics of collective bargaining