Nonparametric Density Estimation under Adversarial Losses