Neural Implementation of Hierarchical Bayesian Inference by Importance Sampling