Endogenous wage-bargaining institutions in oligopolistic industries