Chemical modification of polymers to improve flame retardance—I. The influence of boron-containing groups