Cognitive advantages of bilingual children in different sociolinguistic contexts