Synthesis, characterization of phosphorus-containing copolyester and its application as flame retardants for poly(butylene succinate) (PBS).