Incentives and uncertainty: an empirical analysis of the impact of demand on innovation