how long to become a patent lawyer