Causal inference through multi-stage learning and doubly robust deep neural networks