On the evaluation of the harmonic impedances in AC/DC systems