Light-induced photoisomerization of a diarylethene molecular switch on solidsurfaces