Quantum mechanics with single atoms and photons