Quantum Mechanical Foundations of Molecular Spectroscopy