Tissue-resident lymphocytes: from adaptive to innate immunity