A generalized methodology for lithium-ion cells characterization and lumped electro-thermal modelling