Preparation and properties of water-based conducting polyaniline