Endocrine dysfunctions during treatment of immune-checkpoint inhibitors