Factors associated with liver injury and prognosis in advanced cancer patients treated with immune checkpoint inhibitors