Properties of bagged nearest neighbour classifiers