Poor pulmonary function is associated with mild cognitive impairment, its progression to dementia, and brain pathologies: A community‐based cohort study