Estimation of Covariance Matrices Based on Hierarchical Inverse-Wishart Priors