Preparation and characterization of CdS and Cu2S nanoparticle/polyaniline composite films