The effect of socioeconomic resources and the environment on the relationship between obesity and diabetes and disability across three countries