Changes in sleep patterns in older men have been linked to an increased risk of cognitive decline, researchers report.