Inhomogeneous distribution of organic molecules adsorbed in sol–gel glasses