Arrangement for carrying out and studying chemical reactions