Bayesian inference of protein ensembles from SAXS data