Bayesian approach to model-based extrapolation of nuclear observables