Learning Bayesian Network Structures With Non-Decomposable Scores