Semiparametric theory and empirical processes in causal inference