Synthesis of a novel phosphorus and nitrogen-containing bio-based polyol and its application in flame retardant polyurethane foam