Braves hit four home runs, but have to hold to win shootout with Giants