Titanium and zirconium hard coatings on glass substrates prepared by the sol–gel method