Responsive man-made materials based on spiropyrans