The Sample Complexity of Best-k Items Selection from Pairwise Comparisons