A Bayes consistent 1-NN classifier