Loss of balance trends in patients with multiple sclerosis and Parkinson's disease