Enhanced electrochemical performance of polyaniline/carbon/titanium nitride nanowire array for flexible supercapacitor