The effect of recoil on single-nucleon transfer in heavy-ion reactions