Scattering for the focusing energy-subcritical nonlinear Schrödinger equation