Analysis of hemiformals by gas chromatography