Effects of ammonium polyphosphate and boric acid on the thermal degradation of an intumescent fire retardant coating