Efficient regenerative braking strategy aimed at preserving vehicle stability by preventing wheel locking