Cooperative and noncooperative differential games between firms and trade unions