Battery health prediction under generalized conditions using a Gaussian process transition model