Analysis of natural gas by gas chromatography