Hard coatings on glass substrates by sol-gel method