Fabrication and Characterization of Carbon Nanotube–Titanium Nitride Composites with Enhanced Electrical and Electrochemical Properties