A Multitimescale Kalman Filter-Based Estimator of Li-Ion Battery Parameters Including Adaptive Coupling of State-of-Charge and Capacity Estimation