Formation, Characterization, and Magnetic Properties of Fe3O4 Nanowires Encapsulated in Carbon Microtubes