Study of bound and scattering states in three-nucleon systems