The impact of smoking and pre-existing illness on the relationship between body-mass index and mortality