Preparation and characterization of nanocrystalline thin film and synthesis of quantum dots in polymer matrix