Association between glycemic control and risk of venous thromboembolism in diabetic patients: a nested case-control study