Assessment of the hazard footprint of substances formed in the loss of control of chemical systems