Effect of the fire-retardant, ammonium polyphosphate, on the thermal decomposition of aliphatic polyamides. Part II: polyamide 6