A bio-based macromolecular phosphorus-containing active cotton flame retardant synthesized from starch