Beede, Giants shut down Dodgers in a 1-0 victory