Energy recuperation in fully electric vehicles subject to stability and drivability requirements