The Welfare Foundations of Cost-Benefit Analysis