The effects of patents on scientific inquiry