Application of shock-waves for chemical reactions or for modifying the crystal structure of substances