A U.S. professor and his wife , accused of spying for Cuba , have pleaded not guilty in federal court .