Causal Inference Through the Structural Causal Marginal Problem