Minimizing hydraulic resistance of a plant root by shape optimization