Cartel Formation With Endogenous Capacity and Demand Uncertainty