US consumer prices rise 0.4% in October, exceeding forecasts