Energy transfer processes in dye-doped nanostructures yield cooperative and versatile fluorescent probes