People who suffer from chronic insomnia are a lot more likely to develop dementia, according to research conducted in the US.