Nasdaq ends sharply lower as investors dump growth stocks