A Bayesian framework for inverse problems for quantitative biology