Causal analysis with chain event graphs