Having an inadequate amount of deep sleep could raise one's chances of developing dementia by 27%