Impact of different morphologies of CoFe2O4 nanoparticles for tuning of structural, optical and magnetic properties