Analysis of photocurrent and capacitance of TiO2 nanotube–polyaniline hybrid composites synthesized through electroreduction of an aryldiazonium salt