Relativistic correction of the Coulomb interaction for energies and radii in doubly-magic nuclei