Facile synthesis of hierarchically porous Co3O4 nanowire arrays with enhanced electrochemical catalysis