Pairwise Fairness for Ranking and Regression