Synthesis of a novel flame retardant containing phosphorus, nitrogen and boron and its application in flame-retardant epoxy resin