Benefit-cost analysis in theory and practice