Lars Nootbaar helps Cardinals rally past Giants