Measurement of surface tension by the forming bubble method