Dynamic TGA–FTIR studies on the thermal stability of lithium/graphite with electrolyte in lithium-ion cell