Bayesian learning of multiple essential graphs