Design of a sparse planar array for optimized 3D medical ultrasound imaging