Why the combination of consumer and producer surplus is not maximized if there is either excess supply or demand