Determining Petrophysical Properties of Facies Using a Hierarchical History-Matching Method