US stocks end higher on Fed rate cut expectations