Instrumentation of UL-94 test: understanding of mechanisms involved in fire retardancy of polymers