Photochromism of spiropyran in UHV-prepared thin films