Unhealthy childhood could affect brain later in life study suggests