Carbon nanotube–polyaniline core–shell nanostructured hydrogel for electrochemical energy storage