Prognostic implications of heart failure stages among Chinese community populations: insight from a nationwide population-based study