A new approach in functionalization of carbon nanoparticles for optoelectronically relevant carbon dots and beyond