Template-based synthesis of Co3O4 and Co3O4/SnO2 bifunctional catalysts with enhanced electrocatalytic properties for reversible oxygen evolution and reduction reaction