Self-supported formation of needlelike Co3O4 nanotubes and their application as lithium-ion battery electrodes