Automatic measurement of the nonlinearity parameter B/A in liquid media.