Flame-retardant performance and mechanism of epoxy thermosets modified with a novel reactive flame retardant containing phosphorus, nitrogen, and sulfur