Optical properties of electrostatically assembled films of CdS and ZnS colloid nanoparticles