What gas exchanges does carbon dioxide release when the insect is resting