DoubleGen: Debiased Generative Modeling of Counterfactuals