Nonparametric bandits with covariates