Nuclear core renormalization. I.—Coulomb energy differences