Dodgers beat Giants 6-2 to win series