Emission Properties of Fluorescent Nanoparticles Determined by Their Optical Environment