Counting bubbles: precision process control of gas–liquid reactions in flow with an optical inline sensor