Evidence for a link between the flux of galactic cosmic rays and Earth's climate during the past 200,000 years