Parents who discuss smoking risks with their children are more likely to remain smoke-free, according to a new study.