Blood transfusion requirement prediction in patients undergoing primary total hip and knee arthroplasty