Risk factors for venous thromboembolism after total hip and knee replacement surgery