Association between dental visits at primary care and glycated hemoglobin level in patients with type 2 diabetes: a cohort study