Correlated hyperspherical-harmonic expansion for three-nucleon systems