Stochastic degradation process modelling and remaining useful life estimation with flexible random-effects