Monitoring changes in motor function in the years before death