Cognitive and environmental predictors of early literacy skills