US stocks climb as fresh signs point to cooling inflation and a softer labor market