Association of childhood trauma, socio-economic status and neighborhood status with cognitive function