Synthesis and characterization of a mixture of CoFe2O4 and MgFe2O4 from layered double hydroxides: Band gap energy and magnetic responses