Strategies for metallic nanoparticles, metal chalcogenide nanocrystals and perovskite quantum dots and their optical and optoelectronic properties