Synthesis of a graft‐functionalized flame retardant based on DOPO and its application on the surface of terylene/cotton fabrics