Brain training may forestall dementia onset for years, new study says