On the entropy of regular languages