To Profit or Not to Profit: Pricing and rationing by nonprofit organizations with distributional objectives