Magnetic field evolution of accreting neutron stars