The mechanism of the deposition of pyrolytic carbons