An analytical model for the velocity and gas fraction profiles near gas-evolving electrodes