Model for characterizing lithium-ion battery overpotentials