Thermal Behavior of Lithium-Ion Cells during Charge and Discharge