An ecological study of publicly funded elective hip arthroplasties in Brazil and Scotland: do access inequalities reinforce the inverse care law?