Stimuli-responsive thiol-epoxy networks with photo-switchable bulk and surface properties