Characterizing bubbles in bioreactors using light or ultrasound probes: Data analysis by classical means and by neural networks