Method and circuit for implementing an impedance, in particular for DC telephonic applications