Separating mixtures and solutions