Conservation of immune gene signatures in solid tumors and prognostic implications