Simulating interventions in graphical chain models for longitudinal data