The cost of imports rose faster than usual in February, perhaps a result of U.S. companies rushing to bring in foreign goods ahead of President Donald Trump’s tariffs.