Risk factors for venous thrombosis in medical inpatients: validation of a thrombosis risk score