An investigation of the spontaneous speech of children during problem-solving