Determination of the polarization resistance from impedance measurements