A DTA—EGA study of the chemical isolation of Fe3C, amorphous carbon, and graphite from steel and cast iron