A Bayesian approach for estimating RNA velocity