Atomic physics and quantum optics using superconducting circuits