US consumer prices rise higher than expected amid uncertainty over the economic impact of President Trump’s policies.