Comparative analysis of level of functional dependence of elderly submitted to hip arthroplasty