Optimal Geometry for 3D Supercavitating Hydrofoils