Visual declarative memory is associated with non-rapid eye movement sleep and sleep cycles in patients with chronic non-restorative sleep.