Synthesis of an effective bio-based flame-retardant curing agent and its application in epoxy resin: Curing behavior, thermal stability and flame retardancy