Means for heating or cooling the reaction vessels