Assessment of glycemic control in nursing home residents with diabetes