Magnetotransport properties depending on the nanostructure of Fe3O4 nanowires