Joint modeling of additive and non-additive (genetic line) effects in multi-environment trials