Distinct types of lung disease caused by functional subsets of antiviral T cells