Research has found unhealthy habits established in childhood could lead to decline in brain health in future