Thermodynamic Relation of Interfacial Tensions in Three Fluid Phases