Empirical Likelihood in Nonparametric and Semiparametric Models