The properties of polyaniline-polyelectrolyte complexes