Temperature dependent studies of CdS nanoparticles in viscous matrix