Nonlinear optical materials by the sol-gel method