Distribution of a solute between two phases: the basic theory and its application to the prediction of chromatographic retention