Associations of baseline obstructive sleep apnea and sleep macroarchitecture with cognitive function after 8 years in middle‐aged and older men from a community‐based cohort study