Spatial working memory and attention skills are predicted by maternal stress during pregnancy.