Study ties good health to green spaces