Regulation and effector functions of IFNgamma-induced immunity to intracellular pathogens