Essays On The Economics of Innovation