Stress relaxation in thermosets by photoreversible crosslink exchange