Nearly 1 million Ukrainians have fled to neighboring countries