Sequential coalition formation through bilateral agreements in a cournot setting