Preparation of polyaniline nanofibers and their use as a cathode of aqueous rechargeable batteries