The cognitive prerequisites for language: insights from iterated learning