Analysis of gaseous samples by flow injection