Valuation of social capital and environmental externalities