Flame-retardant epoxy resins from novel phosphorus-containing novolac