Modeling the Formation and Release of Hazardous Substances in the Loss of Control of Chemical Systems containing Brominated Flame Retardants