PairEval: Open-domain Dialogue Evaluation with Pairwise Comparison