Traffic pollution can impair brain function: study