Characterization and modification of the optical properties of fluorescent nanoparticles for bioimaging applications