Association between marital status and cognitive impairment based on a cross‐sectional study in China