ZooD: Exploiting Model Zoo for Out-of-Distribution Generalization