Association between diabetes mellitus and post‐stroke cognitive impairment