Gas analysis by gas chromatography