A mass-transfer study of two-phase flow in an electrochemical reactor