Theoretical description of three- and four-nucleon scattering states using bound-state-like wave functions