Facile synthesis, morphological, structural, photocatalytic and optical properties of CoFe2O4 nanostructures