Rapid and accurate determination of carboxyl groups in carbon materials by headspace gas chromatography.