Nanotube composites consisting of metal nanoparticles and polythiophene from electropolymerization of terthiophene-functionalized metal (Au, Pd) nanoparticles.