Real-time analysis of gases produced by induced failure of lithium-ion batteries | Synapse