School environment, socioeconomic status and gender as predictors of cognitive and academic functioning in young Jamaican children