Entropy in chemical reactions