A gradient theory approach to line tension of liquid–liquid–fluid systems