The emerging role of resident memory T cells in protective immunity and inflammatory disease