Morphology-controlled synthesis of Co3O4 porous nanostructures for the application as lithium-ion battery electrode