Template-controlled fabrication of hierarchical porous Zn–Al composites with tunable micro/nanostructures and chemical compositions