Refractive index change in photochromic diarylethene derivatives and its application to optical switching devices