Preparation of a reactive flame retardant and its finishing on cotton fabrics based on click chemistry