Resource utilization and costs before and after total joint arthroplasty