Two‐step fabrication of lignin‐based flame retardant for enhancing the thermal and fire retardancy properties of epoxy resin composites