Reusing retired electric vehicle batteries