Effect of Carbon Nanotube Functionalization on the Structure and Electrochemical Characteristics of Their Hybrid Nanocomposites with Polyaniline and Polypyrrole