Counterfactuals and Causal Inference: Methods and Principles for Social Research