Optimal shadow prices and discount rates for budget-constrained public firms