In situ imaging of atomic quantum gases