Synthesis and properties of phosphorus-containing advanced epoxy resins. II