Fabrication of ionic liquid-functionalized polypyrrole nanotubes decorated with platinum nanoparticles and their electrocatalytic oxidation of methanol.