Generalized Semiparametric Linear Mixed-effects Models