Sol–Gel Preparation and Third-Order Nonlinear Optical Properties of TiO2 Thin Films