In Situ Fluorescence Probing of the Chemical Changes during Sol–Gel Thin Film Formation