Rewarding Sequential Innovators: Prizes, Patents, and Buyouts