Synthesis of polyaniline nanotubes using the self-assembly behavior of vitamin C: a mechanistic study and application in electrochemical supercapacitors