Subwavelength nanopatterning of photochromic diarylethene films