Wall St. ends at record highs; commodity shares climb