Postaccretion magnetic field evolution of neutron stars