Inferring missing genotypes in large SNP panels using fast nearest-neighbor searches over sliding windows