A third of dementia cases could be prevented by making environmental and life-style changes starting in childhood, scientists have claimed.