Scientists report a surprising link between the two, a finding that implies how global warming could impact our cognitive faculties