Impact of solid / vapour equilibria on conditions of crystallization of pharmaceutical compounds