Quantum mechanics, relativity, and atomic physics