Applying computer-assisted navigation techniques to total hip and knee arthroplasty.