A regularized active-set method for sparse convex quadratic programming