Photochromic fluorescent diarylethene nanocrystals grown in sol–gel thin films