Polyaniline nanowire array encapsulated in titania nanotubes as a superior electrode for supercapacitors.