Spectral analysis and time-dependent scattering theory on manifolds with asymptotically cylindrical ends