Analysis of capacity–rate data for lithium batteries using simplified models of the discharge process