How Patents Provide the Foundation of the Market for Inventions