N.Y. stocks rebound sharply on bargain hunting, rate cut optimism