First and second language learning in early bilingual education. Cognitive theories and their implications for teachers