Text this: The association between frailty status and cognitive function in patients with cardiovascular diseases: a nationwide cohort study