US stocks climb as more signs of cooling inflation lift hopes that Fed rate hikes are near an end