Efficient Bayesian Inference from Noisy Pairwise Comparisons