Investigation of interfacial capacitance of Pt, Ti and TiN coated electrodes by electrochemical impedance spectroscopy.