Effects of pollution on efficiency and equity