Semiparametric Nonlinear Mixed-Effects Models and Their Applications