China on edge as Shanghai shuts businesses and quarantines close contacts