Smoking may increase the risk of dementia in a surprising way, scientists say - by disrupting communication between the lungs and the brain.