Simultaneous Fabrication and Functionalization of Nanoparticles of 2D Materials with Hybrid Optical Properties