The effect of preparation and aging conditions on the internal environment of sol-gel derived materials as probed by 7-azaindole and pyranine fluorescence