Occupancy of spherical shells in the ground state of even 2s-1d shell nuclei