Agent-Based Model of Price Competition, Capacity Choice, and Product Differentiation on Congested Networks