Methods for stable gas flux determination in aquatic and terrestrial systems