Photochromic polymers: Photoinduced conformational changes and effect of polymeric matrix on the isomerization of photochromes