Optical properties of CdSe and CdSe/ZnS quantum dots dispersed in solvents of different polarity