X-ray photoelectron spectroscopy study of bulk and colloidal polyaniline