Study of non-uniform temperature and discharging distribution for lithium-ion battery modules in series and parallel connection