Controlling the nanostructure of electrochemically grown nanoporous composites of carbon nanotubes and conducting polymers