Immunologic functions as prognostic indicators in melanoma