Theoretical study on thermal stability and absorption wavelengths of closed-ring isomers of diarylethene derivatives