Effects of Exergaming on Cognitive and Social Functioning of People with Dementia: A Randomized Controlled Trial