Computational and communicative efficiency in language