The competition between cocrystallization and separated crystallization based on crystallization from solution