Excited-state dynamics of the medicinal pigment curcumin in a hydrogel.