Magnolol-based bio-epoxy resin with acceptable glass transition temperature, processability and flame retardancy