Resonances, scattering theory, and rigged Hilbert spaces