Using Physical Theories to Infer Hidden Causal Structure