Synthesis and photochemical properties of spiropyran graft and star polymers obtained by ‘click’ chemistry