Temperature-Dependent Thévenin Model of a Li-Ion Battery for Automotive Management and Control