The impact of frailty on healthcare resource use