US consumer prices rise moderately; tariffs expected to fan inflation