Donnan-membrane effects in hyperfiltration of ternary systems