Nanoparticles and nanocomposites for fluorescence sensing and imaging