Excited-state dynamics of the fluorescent probe Lucifer Yellow in liquid solutions and in heterogeneous media