Study of phase equilibria and the physicochemical properties of selected pharmaceuticals