Thermal degradation of bisphenol A polycarbonate