Coulomb energies and nuclear radii in the energy density formalism