Light extinction technique for void fraction measurements in bubbly flow