Analysis of predictive factors of hip instability in patients undergoing primary total hip arthroplasty