SMERED: A Bayesian Approach to Graphical Record Linkage and De-duplication