Cost-outcome analysis of joint replacement: evidence from a Spanish public hospital