The Effect of the Intrinsic Dimension on the Generalization of Quadratic Classifiers