Understanding the flame retardant mechanism of intumescent flame retardant on improving the fire safety of rigid polyurethane foam