Coulomb energies of spherical nuclei