The outcome of total hip and knee arthroplasty in diabetics