Electrowetting-based measurement of interfacial tension