Posey’s walkoff single in 13th inning sends Giants to series victory over Cubs