Climatic shocks associate with innovation in science and technology