Relational Marginal Problems: Theory and Estimation