Synthesis of oriented polyaniline flake arrays