On counterfactual inference with unobserved confounding