Enhanced conductive polymer nanocomposite by foam structure and polyelectrolyte encapsulated on carbon nanotubes