Bargaining, reputation and competition