Metachronal waves formation in 3 D cilia arrays immersed in a two-phase flow