Brain, language and the origin of human mental functions