Prizes vs Contracts as Incentives for Innovation