US inflation cooled for a sixth straight month in December