Instability in sleep patterns linked to cognitive decline in older adults