Functional impairment and survival prediction in Amyotrophic Lateral Sclerosis patients: a probabilistic model of disease progression