Group incentives and the demand for prevention