The role of immune profile in predicting outcomes in cancer patients treated with immunotherapy