International study finds dangerous sleep habits that could lead to dementia