Analogies in the Analysis of the Thermal Status of Batteries and Internal Combustion Engines for Mobility