Language enabled by Baldwinian evolution of memory capacity