Constraints on the assembly of spherical virus particles