Phase separation mechanism during membrane formation by dry-cast process