Influence of the fire retardant ammonium polyphosphate on the thermal degradation of poly(methyl methacrylate)