The chemical and colloidal stability of polyaniline dispersions