3D video games could help prevent dementia