Two-phase bubble flow and convective mass transfer in water splitting processes