Hartree-Fock self-consistent potential and linked-valence expansions of the effective interaction