A Versatile Framework for Evaluating Ranked Lists in Terms of Group Fairness and Relevance