A Metropolis–Hastings algorithm for dynamic causal models