Photo-triggered solvent-free metamorphosis of polymeric materials