An improved semi-empirical model for thermal analysis of lithium-ion batteries