Elements of Causal Inference: Foundations and Learning Algorithms (Adaptive Computation and Machine Learning series)