Except as otherwise provided by express written agreement, an employer is the sole owner of any patentable invention or trade secret developed by his or her employee during the course and scope of the employment that relates directly to work performed during the course and scope of the employment.