Giants top Cubs 5-0, 6 pitchers team on 2-hitter