The chemistry and uses of fire retardants