A nonlinear Cournot duopoly with advertising