Structural and optical properties of Co3O4 nanoparticles prepared by sol-gel technique for photocatalytic application