Improved trace gas flux estimation through IRGA sampling optimization