Face masks could be recommended to protect people from dementia after new research linked air pollution to the brain condition.