Mesoscopic behaviour from microscopic Markov dynamics and its application to calcium release channels