Biotemplated hierarchical polyaniline composite electrodes with high performance for flexible supercapacitors