Optimal Performance Versus Fairness Tradeoff for Resource Allocation in Wireless Systems