Surfactant-Templated Synthesis and Magnetic Properties of Ordered Nanostructured Fe3O4