Prediction in dynamic models with time-dependent conditional variances