Determination of pH and oxygen status in the guts of lower and higher termites