Adiabatic theorem, Quantum mechanics, Shape resonances