An inherently flame-retardant polyamide containing a phosphorus pendent group prepared by interfacial polymerization