Estimation of the critical external heat leading to the failure of lithium-ion batteries.