Blanco, Bumgarner lead Giants to 6-5 win