The relationship between intervening hospitalizations and transitions between frailty states.