Enhanced electrochemical stability of polyaniline in ionic liquids