Electrochemical evaluation of pinhole defects in TiN films prepared by r.f. reactive sputtering