Competition and Innovation: An Inverted U Relationship