Surkamp goes 4 innings for Giants in win over Cubs