Preparation of magnetic material containing MgFe2O4 spinel ferrite from a Mg–Fe(III) layered double hydroxide intercalated by hexacyanoferrate(III) ions