Parallel adaptive Markov chain Monte Carlo with applications