Group-Aware Threshold Adaptation for Fair Classification