Gravar-mail: Joint modelling of longitudinal 3MS scores and the risk of mortality among cognitively impaired individuals