Methods for incorporating death into health-related variables in longitudinal studies