The influence function of semiparametric estimators