Synthesis and investigation of a photosensitive, europium-containing polymer