Liver dysfunction is associated with poor prognosis in patients after immune checkpoint inhibitor therapy