The physics of the cosmic microwave background