Paul Goldschmidt hits 34th homer as Cardinals beat Cubs 8-4