Carbon nanofiber/cobalt oxide nanopyramid core–shell nanowires for high-performance lithium-ion batteries