Photoswitching in diarylethene nanoparticles, a trade-off between bulk solid and solution: towards balanced photochromic and fluorescent properties