Bubble detection on the cathode and anode of a high-performing capillary-fed water electrolysis cell