Cain delivers for Giants to cap unbeaten spring