Patents and Innovation: Evidence from Economic History