Coatings made by sol-gel and chemical nanotechnology