Interactions between lymphocytes and myeloid cells regulate pro- versus anti-tumor immunity