Modular Learning of Deep Causal Generative Models for High-dimensional Causal Inference