Entropy production in communication channels