Preparation and properties of sol-gel coating films