Heterogeneous effects of rural-urban migration on agricultural productivity