Study of photophysical properties of doped/undoped semiconductor and metal nanoparticles and their heterostructures