Mechanisms of Thermal and Photodegradations of Bisphenol A Polycarbonate