World stocks extend gains on upbeat U.S. data