Effect of frailty on 6-month outcome after traumatic brain injury: a multicentre cohort study with external validation