Magnetic field synthesis of Fe3O4 nanoparticles used as a precursor of ferrofluids