Surface tension measurement technique by phase detection of capillary waves in liquids