Study of the degradation of hybrid sol–gel coatings in aqueous medium