Finite-range corrections in two-nucleon transfer reactions