Bayesian inference of conformational populations