Beta blockers may reduce dementia risk