Polymer photochemistry