Metformin treatment and acute ischemic stroke outcomes in patients with type 2 diabetes: a retrospective cohort study