Factors associated with glycemic control and diabetes complications in a group of Saudi patients with type 2 diabetes