Chronic condition as a mediator between metabolic syndrome and cognition among community‐dwelling older adults: The moderating role of sex