A structural study of the sol-gel process by optical fluorescence and decay time spectroscopy