Biotemplated fabrication of a 3D hierarchical structure of magnetic ZnFe2O4/MgAl-LDH for efficient elimination of dye from water