Semiparametric estimation in the generalized additive-multiplicative model