An inverse scattering scheme for the regularized long-wave equation