Endocrine dysfunction following immune checkpoint inhibitor therapy