A facile hard-templating synthesis of mesoporous spinel CoFe2O4 nanostructures as promising electrocatalysts for the H2O2 reduction reaction