The incentives to innovate in a Cournot oligopoly