Rates of Convergence for Large-scale Nearest Neighbor Classification