Causal models in string diagrams