Carbon dioxide absorption and elimination in breath during minimally invasive surgery