Predicting frailty in elderly people using socio-clinical databases