Semiparametric inference for the dominance index under the density ratio model