The Inflation Technique for Causal Inference with Latent Variables