Enhancement of thermal conductivity of magnetic nanofluids in magnetic field