Function for estimating the transition probabilities in an illness-death model
