How to protect your inventions under Massachusetts intellectual property law