Determination of elementary composititon of carbonaceous materials by TG-MS analysis