Markets reel as world absorbs shock of UK vote for Brexit