Endoscopic imaging of quantum gases through a fiber bundle