Hardware-in-the-Loop Platform for Assessing Battery State Estimators in Electric Vehicles