Global stocks swing wildly as investors worry about China’s economy