US consumer confidence hits 10-year low amid rising inflation