Study of a nanocomposite based on a conducting polymer: polyaniline.