Effect of silica matrix on structural and optical properties of cobalt ferrite nanoparticles