Modelling partitioning of sparingly soluble drugs in a two phase liquid system