Gradient elution in liquid chromatography : XIV. Theory of ternary gradients in reversed-phase liquid chromatography