Thermal behavior of nickel/metal hydride battery during charging and discharging