A noncontacting technique for measuring surface tension of liquids