Magnetic and structural properties of CoFe2O4 thin films synthesized via a sol–gel process