Bayesian reconstruction of growth velocity