ENDOGENOUS QUALITY CHOICE AND THE IMPACT OF QUANTITATIVE RESTRICTIONS