Characterization of Sol–Gel Materials by Raman and Brillouin Spectroscopies