Patents in the knowledge-based economy