Frailty and type of death among older adults in China: prospective cohort study