On the use of instantaneous impedance for post-electrochemical treatment analysis