DFT studies on pyrolysis mechanisms of tetrabromobisphenol A (TBBPA)