Covariate selection for the nonparametric estimation of an average treatment effect