Preparation and characterization of hybrid nanocomposite coatings by photopolymerization and sol-gel process