Trouble falling asleep at bedtime or in the middle of the night? It could impact your risk for developing dementia