Spectral Theory and Quantum Mechanics