In the absence of externalities, which market structure produces the socially optimal quantity?
A. Perfect competition
B. Monopolistic competition
C. An oligopoly
D. A monopoly
E. A monopsony