Exact sampling with coupled Markov chains and applications to statistical mechanics | Synapse