An automated system for trace gas flux measurements from plant foliage and other plant compartments