Transport efficiency of metachronal waves in 3d cilia arrays immersed in a two-phase flow