The microeconomics of innovation: Oligopoly theoretic analyses with applications to banking and patenting