Bayesian one-mode projection for dynamic bipartite graphs