In situ infrared observation of the pyrolysis process of carbon aerogels