Estimation of the state of health (SOH) of batteries using discrete curvature feature extraction