Spatial distribution and water uptake of roots in structured growth media