Thermal degradation behaviour of aromatic poly(ester-amide) with pendant phosphorus groups investigated by pyrolysis-GC/MS