A study of the gas-phase pyrolysis of glycerol