Text this: On-line analysis of the stability and other features of froths and foams by use of digital image processing