Non-equilibrium thermodynamic studies on transport processes of relevance in water desalting and in biophysics