Electrochemical study of titanium nitride films obtained by reactive sputtering