Photorefractive properties of a thiapyrylium‐dye‐sensitized polymer composite