Estimating health-adjusted life expectancy conditional on risk factors: results for smoking and obesity