On the distribution of integer points on spheres