Extending finite mixtures of nonlinear mixed-effects models with covariate-dependent mixing weights