The effect of numerical quadrature in the p-version of the finite element method