French officials have expressed their dismay after a French scientist was denied entry into the United States because immigration officers found text messages containing a "personal opinion" about the Trump administration and its policies on scientific research.