Optimized Score Transformation for Consistent Fair Classification