Task-Specific Design Optimization and Fabrication for Inflated-Beam Soft Robots with Growable Discrete Joints