Direct approximation on spheres using generalized moving least squares