A method to quantitatively assess the modes-of-action of flame-retardants