Hyperbranched phosphorus flame retardants: multifunctional additives for epoxy resins