Immunological determinants of lung protection and repair during viral infection