Infrared studies of carbons. XII The formation of chars from a polycarbonate