Characteristics of transitional locomotor tasks performed by patients with dementia