Bumgarner shuts out Royals, Giants take 3-2 World Series lead