Deposition and characterization of CdS nanoparticle/polyaniline composite films