Impaired immunity and the development of malignancy