Environmental factors influencing cognitive development