Endocrine-related factors and risk of venous thromboembolism