Influence of d orbitals on the nonlinear optical response of transparent transition-metal oxides.