Distributed Parameter Estimation in Probabilistic Graphical Models