Spheres in the curve complex