Nonparametric variance estimation for nearest neighbor imputation