Immunopathogenesis of hypersensitivity pneumonitis