Building of CoFe2/CoFe2O4/MgO architectures: Structure, magnetism and surface functionalized by TiO2