Sol-Gel Glass Coating Synthesis for Different Applications: Active Gradient-Index Materials, Microlens Arrays and Biocompatible Channels