Causal inference in drug discovery and development