Single atoms and single photons in cavity quantum electrodynamics